﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Prueba
{
    public partial class FormHola : Form
    {
        public FormHola()
        {
            InitializeComponent();
        }

        private void buttonHola3_Click(object sender, EventArgs e)
        {
            label1.Text = textBox1.Text;
            MessageBox.Show(textBox1.Text, 
                            "titutlo",
                            MessageBoxButtons.YesNo,
                            MessageBoxIcon.Error);
        }

    }
}
